/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package sopraim.presenter.validate;

import sopraim.entity.User;
import sopraim.exceptions.UserExcepion;

/**
 *
 * @author justeabel
 */
public class AddFriendForm {
    
    public AddFriendForm(User local, Integer friendId) throws Exception{
        new UserCheckForm(local);
        if(friendId ==null){
            throw new UserExcepion("Identifiant invalide");
        }
    }
}
